#include "stdafx.h"
#include "Joint.h"

using namespace aiRobots;

Joint::Joint()
{
	vtype ini_axis[3] = {1,0,0};
	RotationAxis.Renew(3, &ini_axis[0]);
	SlidingAxis.Renew(3, &ini_axis[0]);
	RotationAngle = 0;
	SlidingLength = 0;
	RotationMatrix.Renew(4,4);
	RotationMatrix.SetDiagonal(1);
}